﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SystemLog.aspx.cs" Inherits="Portal.SystemLog" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="/CSS/style.css" rel="stylesheet" rev="stylesheet" />
    <link href="/CSS/global.css" rel="stylesheet" rev="stylesheet" />
    <script src="/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="/Scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script type="text/javascript">
        function ConvertTaskTab(tabIndex, ElementID0, ElementID1, classID0, classID1) {
            switch (tabIndex) {
                case 0:
                    document.getElementById(ElementID0).style.display = 'none';
                    document.getElementById(classID0).className = '';
                    document.getElementById(ElementID1).style.display = 'block';
                    document.getElementById(classID1).className = 'currently';
                    break;
                case 1:
                    document.getElementById(ElementID0).style.display = 'block';
                    document.getElementById(classID0).className = 'currently';
                    document.getElementById(ElementID1).style.display = 'none';
                    document.getElementById(classID1).className = '';
                    break;
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="place">
    <div class="placeleft"><i></i>您当前的位置：<a href="index.html">首页</a> >> <a href="index.html">工作台</a> >> <strong><b>系统日志</b></strong> </div>   <a href="#" class="shuaxin">刷新</a> </div>
     
    <div class="listTable_1">
        <div class="tableTab">
            <ul>
                <li id="waitTaskLi" class="currently" onclick="ConvertTaskTab(0,'Tab1','Tab0','completeTaskLi','waitTaskLi')">
                    <a href="#">用户操作日志</a></li>
                <li id="completeTaskLi" onclick="ConvertTaskTab(1,'Tab1','Tab0','completeTaskLi','waitTaskLi')">
                    <a href="#">系统运行日志</a></li>
            </ul>
        </div>
        <div id="Tab0">
            <table border="0" cellpadding="0" cellspacing="0" class="listTable1">
                <tr>
                    <td>
                        日志类型
                    </td>
                    <td>
                        操作人
                    </td>
                    <td>
                        操作类型
                    </td>
                    <td>
                        日志时间
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:DropDownList runat="server" ID="textfield" class="inputboder1 inputBg">
                        </asp:DropDownList>
                    </td>
                    <td>
                        <asp:TextBox runat="server" ID="textfield2" class="inputBorder">
                        </asp:TextBox>
                    </td>
                    <td>
                        <asp:TextBox runat="server" ID="textfield3" class="inputBorder">
                        </asp:TextBox>
                    </td>
                    <td>
                        <asp:TextBox ID="txtRepDate" runat="server" class="inputboder1 inputBg2" onClick="WdatePicker()"></asp:TextBox>-<asp:TextBox
                            ID="TextBox1" runat="server" class="inputboder1 inputBg2" onClick="WdatePicker()"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Button runat="server" class="btnBg" Text="查询" />
                    </td>
                </tr>
            </table>
            <br />
            <table class="listTable3" border="0" id="tableUserList">
                <tr class="listTablebg">
                    <th>
                    </th>
                    <th class="style1">
                        选择
                    </th>
                    <th>
                        操作人
                    </th>
                    <th>
                        登录账号
                    </th>
                    <th>
                        操作内容
                    </th>
                    <th>
                        操作类型
                    </th>
                    <th>
                        操作日期
                    </th>
                    <th>
                        操作状态
                    </th>
                </tr>
                <asp:Repeater ID="rptSystemLogList" runat="server">
                    <ItemTemplate>
                        <tr class='<%# ((Container.ItemIndex+1)%2).ToString()=="0"?"grayBg":"" %>'>
                            <td width="20px">
                                <img src="/images/icon3.gif" />
                            </td>
                            <td width="30px">
                                <asp:CheckBox ID="chkDelete" runat="server" />
                                <asp:HiddenField ID="hiddchk" runat="server" />
                            </td>
                            <td>
                                <%# Eval("ACTION_BY")%><!--操作人-->
                            </td>
                            <td>
                                <%# Eval("LOG_ID")%><!--登录账号-->
                            </td>
                            <td>
                                <%# Eval("COMMENTS")%><!--操作内容-->
                            </td>
                            <td>
                                <%# Eval("SYSTEM_TYPE")%><!--操作类型-->
                            </td>
                            <td>
                                <%# Eval("SYSTEM_DATE")%><!--操作日期-->
                            </td>
                            <td>
                                <%# Eval("SYSTEM_STATUS")%><!--操作状态-->
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
                <tr>
                    <td colspan="5">
                        <asp:Button ID="Button1" runat="server" class="btnBg" Text="归档" />
                        <asp:Button ID="btnDelete" runat="server" class="btnBg" Text="删除" />
                    </td>
                    <td>
                        <asp:Label ID="lblPageRecord" runat="server" Text=""></asp:Label>
                    </td>
                    <td colspan="2" style="text-align: right;">
                        <asp:Button ID="btnFirstPage" runat="server" class="btnBg" Text="首页" OnClick="FirstPage_Click" />
                        <asp:Button ID="btnUpPage" runat="server" class="btnBg" Text="上页" OnClick="UpPage_Click" />
                        <asp:Button ID="btnDownPage" runat="server" class="btnBg" Text="下页" OnClick="DownPage_Click" />
                        <asp:Button ID="btnLastPage" runat="server" class="btnBg" Text="末页" OnClick="LastPage_Click" />
                    </td>
                </tr>
            </table>
        </div>
        <div id="Tab1" style="display: none;">
            22
        </div>
    </div>
    <asp:HiddenField ID="_StartRow" runat="server" Value="0" />
    </form>
</body>
</html>
